Part Number Hot Search : 
72104G2 MRF6P PM7375 FX365A P5600 74AVC PE53827 SFH6319
Product Description
Full Text Search
 

To Download ASX340AT2C00XPEDH3-GEVB Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  asx340at: 1/4-inch color cmos ntsc/pal digital image sensor features ? asx340at/d rev. h, 8/15 en 1 ?semiconductor components industries, llc 2015, 1/4-inch color cmos ntsc/pal digital image soc with overlay processor asx340at datasheet, rev. h for the latest datasheet, please visit www.onsemi.com features ? low-power cmos image sensor with integrated image flow processor (ifp) and video encoder ? 1/4-inch optical format, vga resolution (640h x 480v) ? 2x upscaling zoom and pan control ? 40 additional columns and 36 additional rows to compensate for lens alignment tolerances ? option to use single 2.8 v power supply with off-chip bypass transistor ? overlay generator for dynamic bitmap overlay ? integrated video encoder for ntsc/pal with overlay capability and 10-bit i-dac ? integrated microcontroller for flexibility ? on-chip image flow processor performs sophisticated processing, such as color recovery and correction, sharpening, gamma, lens shading correction, on-the-fly defect correction, auto white balancing, and auto exposure ? auto black-level calibration ? 10-bit, on-chip analog-to-digital converter (adc) ? internal master clock generated by on-chip phase- locked loop (pll) ? two-wire serial programming interface ? interface to low-cost eeprom and flash through spi bus ? high-level host command interface ? stand-alone operation support ? comprehensive tool support for overlay generation and lens correction setup ? development system with devware applications ? automotive rear view camera and side mirror ? blind spot and surround view key parameters are continued on next page. see ?new features? on page 3. see ?ordering information? on page 3 table 1: key parameters parameter typical value pixel size and type 5.6 ? m x 5.6 ? m active pinned- photodiode with high-sensitivity mode for low-light conditions sensor clear pixels 728h x 560v (includes vga active pixels, demosaic and lens alignment pixels) ntsc output 720h x 487v pal output 720h x 576v optical area (clear pixels) 4.077 mm x 3.136 mm optical format ?-inch frame rate 50/60 fields/sec sensor scan mode progressive scan color filter array rgb standard bayer chief ray angle (cra) 0 shutter type electronic rolling shutter (ers) automatic functions exposure, white balance, black level offset correction, flicker detection and avoidance, color saturation control, on the-fly defect correction, aperture correction programmable controls exposure, white balance, horizontal and vertical blanking, color, sharpness, gamma correction, lens shading correction, horizontal and vertical image flip, zoom, windowing, sampling rates, gpio control
asx340at/d rev. h, 8/15 en 2 ?semiconductor components industries, llc,2015. asx340at: 1/4-inch color cmos ntsc/pal digital image sensor applications table 2: key parameters (continued) parameter typical value overlay support utilizes spi interface to load overlay data from external flash/eeprom memory with the following features: ?available in analog output and bt656 digital output ?overlay size 360 x 480 pixel rendered into 720 x 480 (ntsc) or 720 x 576 (pal) ?up to four (4) overlays may be blended simultaneously ?selectable readout: rotating order user-selected ?dynamic scenes by loading pre-re ndered frames from external memory ?palette of 32 colors out of 64,000 ?8 colors per bitmap ?blend factor dynamically-programmable for smooth transitions ?fast update rate of up to 30 fps ?every bitmap object has independent x/y position ?statistic engine to calibrate optical alignment ?number generator windowing programmable to any size analog gain range 0.5C16x adc 10-bit, on-chip output interface analog composite video out, single-end ed or differential; 8-, 10-bit parallel digital output output data formats 1 digital: raw bayer 8-,10-bit, ccir656, 565rgb, 555rgb, 444rgb data rate parallel: 27 mhz pixel clock ntsc: 60 fields/sec pal: 50 fields/sec control interface two-wire i/f for register interface plus high-l evel command exchange. spi port to interface to external memory to load overlay data, re gister settings, or firmware extensions. input clock for pll 27 mhz spi clock frequencies 1.6875 C 18 mhz, programmable supply voltage analog: 2.8v 5% core: 1.8 v 5% (2.8v 5% power supply with off-chip bypass transistor generates a 1.70 - 1.95 v core voltage supply, which is acceptable for performance.) io: 2.8 v 5% power consumption analog output only full resolution at 60 fps: 291 mw digital output only full reso lution at 60 fps: 192 mw package 63-bga, 7.5 mm x 7.5 mm, 0.65mm pin pitch ambient temperature operating: -40 c to 105 c functional: -40 c to + 85 c storage: -50c to + 150c dark current < 200 e/s at 60 c with a gain of 1 fixed pattern noise column < 2 % row < 2 % responsivity 16.5 v/lux-s at 550 nm signal to noise ratio (s/n) 46 db pixel dynamic range 87 db
asx340at/d rev. h, 8/15 en 3 ?semiconductor components industries, llc,2015. asx340at: 1/4-inch color cmos ntsc/pal digital image sensor new features new features ? temperature sensor for dynami c feedback and sensor control ? automatic 50hz/60hz flicker detection ? 2x upscaling zoom and pan/tilt control ? independent control of colorburst parameters in the ntsc/pal encoder ? horizontal field of view adjustment betwee n 700 and 720 pixels on the analog output ? option to use single 2.8v power supp ly with off-chip bypass transistor ? spi eeprom support for lower cost system design. ordering information see the on semiconductor device nomenclature document (tnd310/d) for a full description of the naming convention used for image sensors. for reference documenta- tion, including information on evaluation kits, please visi t our web site at www.onsemi.com. table 3: available part numbers part number product description orderable product attribute description asx340at2c00xped0-dpbr rev2, color, 0deg cra, ibga pa ckage drypack, protective film, anti-reflective glass asx340at2c00xped0-drbr rev2, color, 0deg cra, ibga package drypack, anti-reflective glass asx340at2c00xped0-tpbr rev2, color, 0deg cra, ibga pack age tape & reel, protective film, anti-reflective glass asx340at2c00xped0-trbr rev2, color, 0deg cra, ibga package tape & reel, anti-reflective glass asx340at2c00xpedd3-gevk rev2, color, demo kit ASX340AT2C00XPEDH3-GEVB rev2, color, head board asx340at3c00xped0-dpbr rev3, color, 0deg cra, ibga pa ckage drypack, protective film, anti-reflective glass asx340at3c00xped0-drbr rev3, color, 0deg cra, ibga package drypack, anti-reflective glass asx340at3c00xped0-tpbr rev3, color, 0deg cra, ibga pack age tape & reel, protective film, anti-reflective glass asx340at3c00xped0-trbr rev3, color, 0deg cra, ibga package tape & reel, anti-reflective glass
asx340at/d rev. h, 8/15 en 4 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor table of contents table of contents features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 new features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 ordering information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 general description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 pin descriptions and assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 soc description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 sensor pixel array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 system configuration and usage modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 multicamera support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 external signal processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 slave two-wire serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 overlay capability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 nvm partition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 overlay adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 overlay character generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 modes and timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 electrical specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 spectral characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72 revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
asx340at/d rev. h, 8/15 en 5 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor list of figures list of figures figure 1: internal block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 figure 2: system block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 figure 3: using a crystal instead of an external oscillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 figure 4: sensor core block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 figure 5: pixel array description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 figure 6: image capture example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 figure 7: pixel color pattern detail (top right corner) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 figure 8: spatial illustration of image re adout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 figure 9: color pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 figure 10: color bars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 figure 11: gamma correction curve. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 figure 12: multicamera system block diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 figure 13: external signal processing bloc k diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 figure 14: power-up sequence ? configuration options flow chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 figure 15: interface structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 figure 16: host command process flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 figure 17: single read from random locati on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 figure 18: single read from current location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 figure 19: sequential read, start from rand om location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 figure 20: sequential read, start from curre nt location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 figure 21: single write to random location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 figure 22: sequential write, start at rand om location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 figure 23: overlay data flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 figure 24: memory partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 figure 25: overlay calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 figure 26: internal block diagram overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 figure 27: example of character descriptor 0 stored in rom. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 figure 28: full character set for overlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 figure 29: ccir656 8-bit parallel interfac e format for 525/60 (625/50) video systems . . . . . . . . . . . . . . . . . . . .49 figure 30: typical ccir656 vertic al blanking intervals for 525/60 video system. . . . . . . . . . . . . . . . . . . . . . . . . .50 figure 31: typical ccir656 vertic al blanking intervals for 625/50 video system. . . . . . . . . . . . . . . . . . . . . . . . . .51 figure 32: primary clock relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52 figure 33: typical i/o equivalent circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 figure 34: ntsc block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 figure 35: serial interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 figure 36: digital output i/o timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 figure 37: slew rate timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 figure 38: configuration timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 figure 39: power up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 figure 40: power down sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 figure 41: frame_sync to frame_valid/line_v alid. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 figure 42: reset to spi access delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 figure 43: reset to serial access delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 figure 44: reset to ae/awb image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 figure 45: spi output timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 figure 46: video timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 figure 47: equalizing pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 figure 48: v pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 figure 49: two-wire serial bus timing parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 figure 50: quantum efficiency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72 figure 51: 63-ball ibga package outline dr awing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
asx340at/d rev. h, 8/15 en 6 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor list of tables list of tables table 1: key parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 table 2: key parameters (continued). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 table 3: available part numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 table 4: pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 table 5: pin assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 table 6: reset/default state of interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 table 7: eia color bars (ntsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 table 8: ebu color bars (pal). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 table 9: ntsc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 table 10: pal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 table 11: ycbcr output data ordering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 table 12: rgb ordering in default mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 table 13: 2-byte bayer format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 table 14: system manager commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 table 15: overlay host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 table 16: gpio host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 table 17: flash manager host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 table 18: sequencer host commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 table 19: patch loader host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 table 20: miscellaneous host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 table 21: calibration stats host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 table 22: two-wire interface id address switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 table 23: transfer time estimate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 table 24: character generator details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 table 25: field, vertical blanking, eav, an d sav states 525/60 video system . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 table 26: field, vertical blanking, eav, an d sav states for 625/50 video system . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 27: output data ordering in d out rgb mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 table 28: output data ordering in sensor stand-alone mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 table 29: parallel digital output i/o timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 table 30: slew rate for pixclk and d out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 table 31: configuration timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 table 32: power up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 table 33: power down sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 table 34: frame_sync to frame_valid/line_val id parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 table 35: reset_bar delay parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 table 36: spi data setup and hold timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 table 37: absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 table 38: electrical characteristics and oper ating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 table 39: video dac electrical characteristics?single-ended mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 table 40: video dac electrical characteristics?differential mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 table 41: digital i/o parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 table 42: power consumption ? condition 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 table 43: power consumption ? condition 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 table 44: ntsc signal parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66 table 45: video timing: specificat ion from rec. itu-r bt.470. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 table 46: equalizing pulse: specif ication from rec. itu-r bt.470 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 table 47: v pulse: specification from rec. itu-r bt.470 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 table 48: two-wire serial bus characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
asx340at/d rev. h, 8/15 en 7 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor general description general description the on semiconductor asx340at is a vga-format, sing le-chip cmos active-pixel digital image sensor for automotive applications. it captures high-quality color images at vga resolution and outputs ntsc or pal interlaced composite video. the vga cmos image sensor features on semiconductor?s breakthrough low-noise imaging technology that achieves superior im age quality (based on signal-to-noise ratio and low-light sensitivity) while maintaining the inherent size, cost, low power, and inte- gration advantages of on semi conductor's advanced active pixel cmos process tech- nology. the asx340at is a complete camera-on-a-chip . it incorporates sophisticated camera functions on-chip and is progra mmable through a simple two-wi re serial interface or by an attached spi eeprom or flash memory that contains setup information that may be loaded automatically at startup. the asx340at performs sophisticated processing functions including color recovery, color correction, sharpening, programmable gamma correction, auto black reference clamping, auto exposure, 50h z/60hz flicker detection an d avoidance, lens shading correction, auto white balance (awb), and on-the-fly defect identification and correc- tion. the asx340at outputs interlaced-scan images at 60 or 50 fields per second, supporting both ntsc and pal video formats. the image data can be output on one or two output ports: ? composite analog video (single-end ed and differential output support) ? parallel 8-, 10-bit digital architecture internal block diagram figure 1: internal block diagram image flow processor color & gamma correction color space conversion ed g e en h a n ce me n t camera control awb ae ? vga roi @ 60 frames per sec. 640 x 480 active array spi & 2w i/f interface spi 4 2 10 2. 8v 1.8v two-wire i/f overlay graphics generation videoencoder dac 8 ntsc / pal bt -656
asx340at/d rev. h, 8/15 en 8 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor architecture system block diagram the system block diagram will depend on th e application. the system block diagram in figure 2 shows all components; optional pe ripheral components are highlighted. control information will be received by a microcontroller through the automotive bus to communicate with the asx340at through its tw o-wire serial bus. optional components will vary by application. figure 2: system block diagram spi serial data eeprom/flash 1kb - 16mb lp filter dac _pos c 2wire i/f composite video pal /ntsc extclk system bus 2.35k dac_ref dac _neg optional xtal 37.5 reset_bar frame _sync pixclk frame_valid line_valid ccir 656/ gpo d out _ lsb0, 1 d out [7:0 ] v dd (1.8v) v aa (2.8v) v aa _pix (2.8v) 2.8v v dd _io (2.8v) . v dd _pll (2.8v) . v dd _dac (2.8v) v reg _base 18 pf - npo 27.000 mhz 18 pf - npo
asx340at/d rev. h, 8/15 en 9 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor architecture crystal usage as an alternative to using an external osci llator, a fundamental 27 mhz crystal may be connected between extclk and xtal. two small loading capacitors of 10?22 pf of npo dielectric should be added as shown in figure 3. on semiconductor does not recommend using the crystal option for applications above 85 c. a crystal oscillator with temperature compensation is recommended. figure 3: using a crystal instead of an external oscillator note: value of load capacitor is crystal dependent. crystal with small load capacitor is recommended. extclk xtal 18 pf - npo 27.000 mhz sensor 18 pf - npo
asx340at/d rev. h, 8/15 en 10 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor pin descriptions and assignments pin descriptions and assignments table 4: pin descriptions pin number pin name type description clock and reset a2 extclk input master input clock (27mhz): this ca n either be a square-wave generated from an oscillator (in which case the xtal input mu st be left unconnected) or connected directly to a crystal. b1 xtal output if extclk is connected to one pin of a crystal, this signal is connected to the other pin; otherwise this signal must be left unconnected. d2 reset_bar input asynchronous active-low reset: when asserted, the device will return all interfaces to their reset state. when released, the de vice will initiate the boot sequence. this signal has an internal pull-up resistor. e1 frame_sync input this input can be used to set the ou tput timing of the asx340at to a fixed point in the frame. the input buffer associated with this inpu t is permanently enabled. this signal must be connected to gnd if not used. register interface f1 sclk input these two signals implement the serial communications protocol for access to the internal registers and variables. f2 s data input/output e2 s addr input this signal controls the device id that will respond to serial communication commands. two-wire serial interface device id selection: 0: 0x90 1: 0xba spi interface d4 spi_sclk output clock ou tput for interfacing to an externa l spi memory such as flash/eeprom. tri-state when reset_bar is asserted. e4 spi_sdi input data in from spi device. this signal has an internal pull-up resistor. h3 spi_sdo output data out to spi device. tri-state when reset_bar is asserted. h2 spi_cs_n output chip selects to spi device . tri-state when reset_bar is asserted. (parallel) pixel data output f7 frame_valid input/output pixel data from the asx340at can be routed out on this interface and processed externally. to save power, these signals are driven to a constant logic level unless the parallel pixel data output or alternate (gpio) function is enabled for these pins. this interface is disabled by default. the slew rate of these outputs is programmable. these signals can also be used as general purpose input/outputs. g7 line_valid input/output e6 pixclk output f8, d6, d7, c6, c7, b6, b7, a6 d out [7:0] output b3 d out _lsb1 input/output when the sensor core is running in bypass mode, it will gene rate 10 bits of output data per pixel. these two pins make the two lsb of pixel data available externally. leave d out _lsb1and d out _lsb0 unconnected if not used. to save power, these signals are driven to a constant logic level unless the sensor core is running in bypass mode or the alternate function is enabled for these pins. the slew rate of these outputs is programmable. c2 d out _lsb0 input/output
asx340at/d rev. h, 8/15 en 11 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor pin descriptions and assignments composite video output f5 dac_pos output positive video dac output in differential mode. video dac output in single-ended mode. th is interface is enabled by default using ntsc/pal signaling. for applications where composite video output is not required, the video dac can be placed in a power-down state under software control. g5 dac_neg output negative video dac output in differential mode. a4 dac_ref output external reference resistor for the video dac. manufacturing test interface d3 tdi input jtag test pin (reserved for test mode) g2 tdo output jtag test pin (reserved for test mode) f3 tms input jtag test pin (reserved for test mode) c3 tck input jtag test pin (reserved for test mode) c4 trst_n input connect to gnd. g6 atest1 input analog test input. connect to gnd in normal operation. f6 atest2 input analog test input. connect to gnd in normal operation. gpio c1 gpio12 input/output dedicated general-purpose input/output pin. a3 gpio13 input/output dedicated general-purpose input/output pin. power g4 vreg_base supply voltage regulator control. leave floating if not used. a5, a7, d8, e7, g1, g3 v dd supply supply for v dd core: 1.8v nominal. can be connected to the output of the transistor of the off-chip bypass transist or or an external 1.8v power supply. b2, b8, c8, e3, e8, g8, h8 v dd _io supply supply for digital ios: 2.8v nominal. h5 v dd _dac supply supply for video dac: 2.8v nominal. a8 v dd _pll supply supply for pll: 2.8v nominal. b4, h6 v aa supply analog power: 2.8v nominal. h7 v aa _pix supply analog pixel array power: 2.8v nomina l. must be at same voltage potential as v aa . h4 reserved leave floating for normal operation. b5, c5, d1, d5, h1 d gnd supply digital ground. e5, f4 a gnd supply analog ground. table 4: pin descriptions (continued) pin number pin name type description
asx340at/d rev. h, 8/15 en 12 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor pin descriptions and assignments pin assignments pin 1 is not populated with a ball. that allows the device to be identified by an additional marking. table 5: pin assignments 1 2 3 4 5 6 7 8 aextclk gpio13 dac_ref v dd d out 0v dd v dd _pll bxtal v dd _io d out _lsb1 v aa gnd d out 2d out 1v dd _io cgpio12 d out _lsb0 tck trst_n gnd d out 4d out 3v dd _io dgnd reset_bar tdi spi_sclk gnd d out 6d out 5v dd eframe_sync s addr v dd _io spi_sdi a gnd pixclk v dd v dd _io fs clk s data tms a gnd dac_pos atest2 frame_valid d out 7 gv dd tdo v dd vreg_base dac_neg atest1 line_valid v dd _io h gnd spi_cs_n spi_sdo reserved v dd _dac v aa v aa _pix v dd _io table 6: reset/default state of interfaces name reset state default state notes extclk clock running or stopped clock running input xtal n/a n/a input reset_bar asserted de-asserted input sclk n/a n/a input. must always be driven to high via a pull-up resistor in the range of 1.5 to 4.7 k ? . s data high impedance high impedance input/output. must always be driven to high via a pull-up resistor in the range of 1.5 to 4.7 k ? . s addr n/a n/a input. must be permanently tied to v dd _io or gnd. spi_sclk high impedance. driven, logic 0 output. output enable is r0x0032[13]. spi_sdi internal pull-up enab led. internal pull-up enabled input. internal pull-up is permanently enabled. spi_sdo high impedance driven, logic 0 output enable is r0x0032[13]. spi_cs_n high impeda nce driven, logic 1 output enable is r0x0032[13]. frame_valid high impedance high impedance input/output. this interface is disabled by default. input buffers (used for gpio function) powered down by default, so these pins can be left unconnected (floating). after reset, these pins are powered up, sampled, then powered down again as part of the auto- configuration mechanism. see note 2. line_valid
asx340at/d rev. h, 8/15 en 13 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor pin descriptions and assignments notes: 1. the reason for defining the default state as lo gic 0 rather than high impedance is this: when wired in a system (for example, on on semiconductor s demo boards), these outputs will be connected, and the inputs to which they are connected will want to see a valid logic level. no current drain should result from driving these to a valid logic le vel (unless there is a pull-up at the system level). 2. these pads have their input circuitry powered down, but they are not output-enabled. therefore, they can be left floating but they will not dr ive a valid logic level to an attached device. pixclk high impedance driven, logic 0 output. this interface disabled by default. see note 1. d out 7 d out 6 d out 5 d out 4 d out 3 d out 2 d out 1 d out 0 d out _lsb1 high impedance high impedance input/output. this interface disabled by default. input buffers (used for gpio function) powered down by default, so these pins can be left unconnected (floating). after reset, these pins are powered-up, sampled, then powered down again as part of the auto- configuration mechanism. d out _lsb0 high impedance high impedance dac_pos high impedance driven output. interface disabled by hardware reset and enabled by default when the device starts streaming. dac_neg dac_ref tdi internal pull-up enabled internal pull-up enabled input. internal pull-up me ans that this pin can be left unconnected (floating). tdo high impedance high impedance output. driven only during appropriate parts of the jtag shifter sequence. tms internal pull-up enabled internal pull-up enabled input. internal pull-up me ans that this pin can be left unconnected (floating). tck internal pull-up enabled internal pull-up enabled input. internal pull-up me ans that this pin can be left unconnected (floating). trst_n n/a n/a input. must always be driven to a valid logic level. must be driven to gnd for normal operation. frame_sync n/a n/a input. must always be driven to a valid logic level. must be driven to gnd if not used. gpio12 high impedance high impedance input/output. this interface disabled by default. input buffers (used for gpio function) powered down by default, so these pins can be left unconnected (floating) gpio13 high impedance high impedance input/output. this interface disabled by default. input buffers (used for gpio function) powered down by default, so these pins can be left unconnected (floating). atest1 n/a n/a must be driven to gnd for normal operation. atest2 n/a n/a must be driven to gnd for normal operation. table 6: reset/default state of interfaces (continued) name reset state default state notes
asx340at/d rev. h, 8/15 en 14 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor soc description soc description detailed architecture overview sensor core the sensor consists of a pixel array, an analog readout chain, a 10-bit adc with programmable gain and black offset, and timing an d control as illustrated in figure 4. figure 4: sensor core block diagram pixel array structure the sensor core pixel array is configured as 728 columns by 560 rows, as shown in figure 5. figure 5: pixel array description black rows used internally for automatic bl ack level adjustment are not addressed by default, but can be read out in raw output mode via a register setting. there are 728 columns by 560 rows of optically-active pixels (that is, clear pixels) that include a pixel boundary around the vga (6 40 x 480) image to avoid boundary effects during color interpolation and correction. among the 728 columns by 560 rows of clear communication bus to ifp 10-bit data to ifp sync signals clock control register analog processing active pixel sensor (aps) array timing and control adc demosaic rows demosaic rows demosaic columns demosaic columns active pixel array 640 x 480 (not to scale) pixel logical address = (727, 559) pixel logical address = (0, 0) lens alignment rows lens alignment rows lens alignment columns lens alignment columns (0, 0) (40, 36) (687, 523)
asx340at/d rev. h, 8/15 en 15 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor soc description pixels, there are 36 lens alignment rows on the top and bottom, and 40 lens alignment columns on the left and right; and there ar e 4 demosaic rows and 4 demosaic columns on each side. figure 6 illustrates the process of capturing the image. the original scene is flipped and mirrored by the sensor optics. sensor readou t starts at the lower right corner. the image is presented in true orientation by the output display. figure 6: image capture example scene (front view) optics image capture image rendering start readout row by row image sensor (rear view) start rasterization process of i ma g e gatherin g and im age displa y display (front view)
asx340at/d rev. h, 8/15 en 16 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array sensor pixel array the active pixel array is 640 x 480 pixels. in addition, there are 72 rows and 80 columns for lens alignment and 8 rows and 8 columns for demosaic. figure 7: pixel color pattern detail (top right corner) output data format the sensor core image data are read out in progressive scan order. valid image data are surrounded by horizontal and vert ical blanking, shown in figure 8. for ntsc output, the horizontal size is stretc hed from 640 to 720 pixels. the vertical size is 243 pixels per field; 240 imag e pixels and 3 dark pixels that are located at the bottom of the image field. for pal output, the horizontal size is also st retched from 640 to 720 pixels. the vertical size is 288 pixels per field. black pixels column readout direction . . . ... row readout direction r g r g b g first lens alignment pixel (64, 0) r g r g b g r g r g b g g b g g r g b g b g r g b g b g r g b g b b g b
asx340at/d rev. h, 8/15 en 17 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array figure 8: spatial illustration of image readout p 0,0 p 0,1 p 0,2 .....................................p 0,n-1 p 0,n p 2,0 p 2,1 p 2,2 .....................................p 2,n-1 p 2,n 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 p m-2,0 p m-2,1 .....................................p m-2,n-1 p m-2,n p m,0 p m,1 .....................................p m,n-1 p m,n 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ..................................... 00 00 00 vali d ima g e o dd fiel d horizontal blankin g verti c al even blankin g verti c al/horizontal blankin g p 1,0 p 1,1 p 1,2 .....................................p 1,n-1 p 1,n p 3,0 p 3,1 p 3,2 .....................................p 3,n-1 p 3,n 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 p m-1,0 p m-1,1 .....................................p m-1,n-1 p m-1,n p m+1,0 p m+1,1 ..................................p m+1,n-1 p m+1,n 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 .................. 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ..................................... 00 00 00 00 00 00 ..................................... 00 00 00 vali d ima g e even fiel d horizontal blankin g verti c al o dd blankin g verti c al/horizontal blankin g
asx340at/d rev. h, 8/15 en 18 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array image flow processor image and color processing in the asx340at are implemented as an image flow processor (ifp) coded in hardware logic. during normal operation, the embedded microcontrolle r will automatically adjust the oper ation parameters. the ifp is broken down into different sections, as outlined in figure 9. figure 9: color pipeline test pattern generator black level subtraction color correction aperture correction gamma correction (12-to-8 lookup) statistics engine color kill output formatting yuv to rgb raw data 10/12-bit rgb raw 10 8-bit rgb 8-bit yuv parallel output output interface rgb to yuv digital gain control lens shading correction defect correction, noise reduction, color interpolation mux ifp parallel output mux pixel array adc analog output mux ntsc/pal overlay control
asx340at/d rev. h, 8/15 en 19 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array test patterns during normal operation of the asx340at, a stream of raw image data from the sensor core is continuously fed into the color pipeline. for test purposes, this stream can be replaced with a fixed image generated by a special test module in the pipeline. the module provides a selection of test patterns sufficient for basic testing of the pipeline. ntsc/pal test pattern generation there is a built-in standard eia (ntsc) and ebu (pal) color bars to support hue and color saturation characterization. each patt ern consists of seven color bars (white, yellow, cyan, green, magenta, red, and blue). the y, cb and cr values for each bar are detailed in tables 7 and 8. figure 10: color bars ccir-656 format the color bar data is encoded in 656 data streams. the duration of the blanking and active video periods of the generated 656 data are summarized in tables 9 and 10. table 7: eia color bars (ntsc) nominal range white yellow cyan green magenta red blue y 16 to 235 180 162 131 112 84 65 35 cb 16 to 240 128 44 156 72 184 100 212 cr 16 to 240 128 142 44 58 198 212 114 table 8: ebu color bars (pal) nominal range white yellow cyan green magenta red blue y 16 to 235 235 162 131 112 84 65 35 cb 16 to 240 128 44 156 72 184 100 212 cr 16 to 240 128 142 44 58 198 212 114 table 9: ntsc line numbers field description 1-3 2 blanking 4-19 1 blanking
asx340at/d rev. h, 8/15 en 20 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array black level subtract ion and digital gain image stream processing starts with black level subtraction and multiplication of all pixel values by a programmable digital gain. both operations can be independently set to separate values for each color channe l (r, gr., gb, b). independent color channel digital gain can be adjusted with registers. independent color channel black level adjust- ments can also be made. if the black level su btraction produces a negative result for a particular pixel, the value of this pixel is set to 0. positional gain adjustments (pga) lenses tend to produce images whose bright ness is significantly attenuated near the edges. there are also other factors causing fixed pattern signal gradients in images captured by image sensors. the cumulative result of all these factors is known as image shading. the asx340at has an embedded shading correction module that can be programmed to counter the shading effects on each individual r, gb, gr., and b color signal. the correction function the correction functions can then be appl ied to each pixel value to equalize the response across the image as follows: (eq 1) where p is the pixel values and f is the color dependent correction functions for each color channel. 20-263 1 active video 264-265 1 blanking 266-282 2 blanking 283-525 2 active video table 10: pal line numbers field description 1-22 1 blanking 23-310 1 active video 311-312 1 blanking 313-335 2 blanking 336-623 2 active video 624-625 2 blanking table 9: ntsc (continued) line numbers field description p corrected (row,col)=p sensor (row,col)*f(row,col)
asx340at/d rev. h, 8/15 en 21 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array color interpolation in the raw data stream fed by the sensor core to the ifp, each pixel is represented by a 10-bit integer number, which can be considered proportional to the pixel's response to a one-color light stimulus, red, green, or blue , depending on the pixel's position under the color filter array. initial data processing step s, up to and including the defect correction, preserve the one-color-per-pixel nature of th e data stream, but after the defect correc- tion it must be converted to a three-colors -per-pixel stream appropriate for standard color processing. the conversion is done by an edge-sensitive color interpolation module. the module pads the incomplete color information available for each pixel with information extracted from an appropri ate set of neighboring pixels. the algorithm used to select this set and extract the in formation seeks the best compromise between preserving edges and filtering out high frequency noise in flat field areas. the edge threshold can be set th rough register settings. color correction and aperture correction to achieve good color fidelity of the ifp outp ut, interpolated rgb values of all pixels are subjected to color correction. the ifp multiplies each vector of three pixel colors by a 3 x 3 color correction matrix. the three components of the resulting color vector are all sums of three 10-bit numbers. since such sums can have up to 12 significant bits, the bit width of the image data stream is widened to 12 bits per color (36 bits per pixel). the color correction matrix can be either programmed by the user or automatically selected by the auto white balance (awb) algorithm implemented in the ifp. color correction should ideally produce output colors that ar e corrected for the spectral sensitivity and color crosstalk characteristics of the imag e sensor. the optimal values of the color correction matrix elements depend on those sensor characteristics and on the spectrum of light incident on the sensor. the color correction parameters can be adjusted through register settings. to increase image sharpness, a programmable 2d aperture correction (sharpening filter) is applied to color-corrected image data. the gain and threshold for 2d correction can be defined through register settings.
asx340at/d rev. h, 8/15 en 22 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array gamma correction the asx340at includes a block for gamma correction that can adjust its shape based on brightness to enhance the performance under certain lighting conditions. two custom gamma correction tables may be uploaded corresponding to a brighter lighting condi- tion and a darker lighting condition. at power-up, the ifp loads the two tables with default values. the final gamma correction table used depends on the brightness of the scene and takes the form of an inte rpolated version of the two tables. the gamma correction curve (as shown in figure 11) is implemented as a piecewise linear function with 19 knee points, taking 12-bit arguments and mapping them to 8-bit output. the abscissas of the knee points are fixed at 0, 64, 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840, and 4096. the 8-bit ordinates are programmable through registers. figure 11: gamma correction curve rgb to yuv conversion for further processing, the data is converted from rgb color space to yuv color space. color kill to remove high-or low-light color artifacts, a color kill circuit is included. it affects only pixels whose luminance exceeds a certain preprogrammed threshold. the u and v values of those pixels are attenuated proporti onally to the difference between their lumi- nance and the threshold. yuv color filter as an optional processing st ep, noise suppression by one-dimensional low-pass filtering of y and/or uv signals is possible. a 3- or 5-tap filter can be selected for each signal.
asx340at/d rev. h, 8/15 en 23 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array yuv-to-rgb/yuv conversion and output formatting the yuv data stream emerging from the colorpipe can either exit the color pipeline as-is or be converted before exit to an alternative yuv or rgb data format. output format and timing yuv/rgb data ordering the asx340at supports swapping ycbcr mode, as illustrated in table 11. the rgb output data ordering in default mode is shown in table 12. the odd and even bytes are swapped when luma/chroma swap is enabled. r and b channels are bit-wise swapped when chroma swap is enabled. uncompressed 10-bit bypass output raw 10-bit bayer data from the sensor core ca n be output in bypass mode in two ways: ? using 8 data output signals (d out [7:0]) and gpio[1:0]. the gpio signals are the least significant 2 bits of data. ? using only 8 signals (d out [7:0]) and a special 8 + 2 data format, shown in table 13. readout formats progressive format is used for raw bayer output. table 11: ycbcr output data ordering mode data sequence default (no swap) cb i y i cr i y i+1 swapped cbcr cr i y i cb i y i+1 swapped yc y i cb i y i+1 cr i swapped cbcr, yc y i cr i y i+1 cb i table 12: rgb ordering in default mode mode (swap disabled) byte d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 565rgb odd r 7 r 6 r 5 r 4 r 3 g 7 g 6 g 5 even g 4 g 3 g 2 b 7 b 6 b 5 b 4 b 3 555rgb odd 0 r 7 r 6 r 5 r 4 r 3 g 7 g 6 even g 5 g 4 g 3 b 7 b 6 b 5 b 4 b 3 444xrgb odd r 7 r 6 r 5 r 4 g 7 g 6 g 5 g 4 even b 7 b 6 b 5 b 4 0 0 0 0 x444rgb odd 0 0 0 0 r 7 r 6 r 5 r 4 even g 7 g 6 g 5 g 4 b 7 b 6 b 5 b 4 table 13: 2-byte bayer format byte bits used bit sequence odd bytes 8 data bits d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 even bytes 2 data bits + 6 unused bits 0 0 0 0 0 0 d 1 d 0
asx340at/d rev. h, 8/15 en 24 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor sensor pixel array output formats itu-r bt.656 and rgb output theasx340at can output processed video as a standard itu-r bt.656 (ccir656) stream, an rgb stream, or as unprocessed bayer da ta. the itu-r bt.656 stream contains ycbcr 4:2:2 data with embedded synchronization code s. this output is typically suitable for subsequent display by standard video equipment or jpeg/mpeg compression. colorpipe data (pre-lens correction and overlay) can also be output in ycbcr 4:2:2 and a variety of rgb formats in 640 by 480 progressive format in conjunction with line_valid and frame_valid. the asx340at can be configured to output 16-bit rgb (565rgb), 15-bit rgb (555rgb), and two types of 12-bit rgb (444rgb). refer to table 24 and table 25 on page 50 for details. bayer output unprocessed bayer data are generated when bypassing the ifp completely?that is, by simply outputting the sensor bayer stream as usual, using frame_valid, line_valid, and pixclk to time the data. this mo de is called sensor bypass mode. output ports composite video output the composite video output dac is external -resistor-programmable and supports both single-ended and diffe rential output. the dac is driven by the on-chip video encoder output. parallel output parallel output uses either 8-bit or 10-bit output. eight-bit output is used for itu-r bt.656 and rgb output. ten-bit output is used for raw bayer output. zoom support the asx340at supports zoom x1 and x2 mode s, in interlaced an d progressive scan modes. the progressive support is limited to the vga at either 60 fps or 50 fps. in the zoom x2 modes, the sensor is config ured for qvga (320 x 240), and the zoom x2 window can be configured to pan around the vga window. fov stretch support the asx340at supports the ability to control th e active 'width' of the tv output line, between 692 and 720 pixels. the hardware supports two margins, each a maximum of 14 pixels width, and has to be an even number of pixels.
asx340at/d rev. h, 8/15 en 25 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor system configuration and usage modes system configuration and usage modes how a camera based on the asx340at will be configured depends on what features are used. there are essentially three configuration modes for asx340at: auto-config mode, flash-config mode, and host-config mode. refer to system configuration and usage modes in the developer guide document for details.
asx340at/d rev. h, 8/15 en 26 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor multicamera support multicamera support two or more asx340at sensors may be sy nchronized to a frame by asserting the frame_sync signal. at that point, the se nsor and video encoder will reset without affecting any register settings. the asx340at may be triggered to be synchronized with another asx340at or an external event. figure 12: multicamera system block diagram decoder/dsp camera 1 camera 2 cvbs cvbs system bus c asx340 asx340 f_sync osc dual camera 1 f_sync
asx340at/d rev. h, 8/15 en 27 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing external signal processing an external signal processor can take data from itu656 or raw bayer output format and post-process or compress the data in various formats. figure 13: external signal processing block diagram spi serial eeprom/flash 1kb to 16mb 27 mhz video_p cvbs pal/ntsc extclk video_n d out [7:0] pixclk signal processor
asx340at/d rev. h, 8/15 en 28 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing device configuration after power is applied and the device is out of reset by de-asserting the reset_bar pin, it will enter a boot sequence to configure its operating mode. there are essentially three three configuration modes: flash/eeprom conf ig, auto config, and host config. figure 14: ?power-up sequence ? configuration options flow chart,? on page 29 contains more details on the configuration options. the soc firmware supports a system configurat ion phase at start-up. this consists of five modes of execution: 1. flash detection 2. flash-config 3. auto-config 4. host-config 5. change-config (commences streaming - co mpletes the system configuration mode). the system configuration phase is entered immediately after the firmware initializes following soc power-up or reset. by default, the firmware first enters the flash detec- tion mode. the flash detection mode atte mpts to detect the presence of an spi flash or eeprom device: ? if no device is detected, the firmware then samples the spi_sdi pin state to determine the next mode: ? if spi_sdi == 0 then it enters the host-config mode. ? if spi_sdi == 1 then it enters the auto-config mode. ? if a device is detected, the firmware switches to the flash-config mode. in the flash-config phase, the firmware in terrogates the device to determine if it contains valid configuration records: ? if no records are detected, then the firmware enters the auto-config mode. ? if records are detected, the firmware processes them. by default, when all flash records are processed the firmware switches to the host-config mode. however, the records encoded into the flash can optionally be used to instruct the firmware to proceed to one of the other mo de (auto-config/change-config). the auto-config mode uses the frame_valid, line_valid, d out _lsb0 and d out _lsb1 pins to configure the operation of the device, such as video format and pedestal (refer to the developer guide for more details). after auto-config completes the firmware switches to the change-config mode. in the host-config mode, the firmware perf orms no configuration, and remains idle waiting for configuration and commands from the host. the system configuration phase is effectively complete and the soc will take no actions until the host issues commands. in the change-config mode, the firmware pe rforms a 'change-config' operation. this applies the current configuration settings to the soc, and commences streaming. this completes the system configuration phase.
asx340at/d rev. h, 8/15 en 29 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing power sequence in power-up, refer to the power-up sequence in figure 39: ?power up sequence,? on page 59. in power down, refer to figure 40: ?power down sequence,? on page 60 for details. figure 14: power-up sequence C configuration options flow chart d out _lsb 0 power up / reset auto configuration : frame _ valid line_valid spi _sdi = 0? wait for host command wait for host command parse eeprom/flash content wait for host command yes no disable auto-config host config d out _lsb 1 eeprom/flash contents valid? eeprom/flash device present? no change config (default) : (optional) auto-config change-config auto-config change-config no yes
asx340at/d rev. h, 8/15 en 30 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing supported nvm devices the asx340at supports a variety of spi non-vo latile memory (nvm) devices. refer to flash/eeprom programming section in de veloper guide document for details.
asx340at/d rev. h, 8/15 en 31 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing host command interface on semiconductor sensors and socs contain numerous registers that are accessed through a two-wire interface with speeds up to 400 khz. the asx340at in addition to writing or reading straight to/from registers or firmware variables, has a mechanism to write higher level commands, the host command inter- face (hci). once a command has been written through the hci, it will be executed by on-chip firmware and the results are reported back. in general, registers should not be accessed with the exception of registers that are marked for ?user access.? eeprom or flash memory is also availabl e to store commands for later execution. under dma control, a command is written into the soc and executed. for a complete description of host commands, refer to the asx340at host command interface specification. figure 15: interface structure host command to fw response from fw 15 0 bit 1 0 command register addr 0x40 addr 0xfc00 addr 0xfc0e addr 0xfc02 addr 0xfc04 addr 0xfc06 addr 0xfc08 addr 0xfc0a addr 0xfc0c 14 door bell 15 0 bit parameter 0 parameter 7 cmd_handler_params_pool_0 cmd_handler_params_pool_1 cmd_handler_params_pool_2 cmd_handler_params_pool_3 cmd_handler_params_pool_4 cmd_handler_params_pool_5 cmd_handler_params_pool_6 cmd_handler_params_pool_7
asx340at/d rev. h, 8/15 en 32 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing host command process flow figure 16: host command process flow read command re g ister doorbell bit clear ? no command has parameters ? ye s write parameters to pa ra me te r po o l ye s write command to command register no issu e command h o st co u ld in se rt a n optional delay here host could insert an optional delay here wait for a response? r e a d c o mma n d re g iste r doorbell bit cle a r ? ye s no command h a s response parameters ? ye s read response parameters from pa ra me te r po o l ye s at this point command register contains response code done no no
asx340at/d rev. h, 8/15 en 33 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing command flow the host issues a command by writing (through a two-wire interface bus) to the command register. all commands are encode d with bit 15 set, which automatically generates the host command (doorbell ) interrupt to the microprocessor. assuming initial conditions, the host first wr ites the command parameters (if any) to the parameters pool (in the command handler's lo gical page), then writes the command to command register. the firmware interrupt handler then signals the command handler task to process the command. if the host wishes to determine the outcome of the command, it must poll the command register waiting for the doorbell bit to be cleared. this indicates that the firmware completed processing the command. when the doorbell bit is cleared, the contents of the command register indicate the command's result status. if the command generated response parameters, the host can now re trieve these from the parameters pool. note: the host must not write to the parameters pool, nor issue another command, until the previous command completes. this is true even if the host does not care about the result of the previous command. therefore, the host must always poll the command register to determine the state of the doorbell bit, and ensure the bit is cleared before issuing a command. for a complete command list and further in formation consult the host command inter- face specification. an example of how (using devware) a command may be initiated in the form of a ?preset? follows. issue the sysmgr_set_state command all devware presets supplied by on semiconductor poll and test the doorbell bit after issuing the command. therefore there is no need to check if the doorbell bit is clear before issuing the next command. # set the desired next state in the parameters pool(sys_state_enter_con- fig_change) reg= 0xfc00, 0x2800 // cmd_handler_params_pool_0 # issue the hc_sysmgr_set_state command reg= 0x0040, 0x8100 // command_register # wait for the fw to complete the command (clear the doorbell bit) poll_field= command_register, doorbell,!=0, delay=10, timeout=100 # check the command was successful error_if= command_register, host_command,!=0, "set state command failed",
asx340at/d rev. h, 8/15 en 34 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing summary of host commands table 14 on page 34 through table 21 on page 36 show summaries of the host commands. the commands are divided into the following sections: ? system manager ?overlay ?gpio ? flash manager ? sequencer ? patch loader ?miscellaneous ? calibration stats following is a summary of the host interface commands. the description gives a quick orientation. the ?type? column shows if it is an asynchronous or synchronous command. for a complete list of all comman ds including parameters, consult the host command interface specification document. table 14: system manager commands system manager host command value type description set state 0x8100 synchronous reques t the system enter a new state get state 0x8101 synchronous get the current state of the system table 15: overlay host commands overlay host command value type description enable overlay 0x8200 synchronous enable or disable the overlay subsystem get overlay state 0x8201 synchronous retrieve the state of the overlay subsystem set calibration 0x8202 synchronous set the calibration offset set bitmap property 0x8203 synchronous set a property of a bitmap get bitmap property 0x8204 synchronous get a property of a bitmap set string property 0x8205 synchronous set a property of a character string load buffer 0x8206 asynchronous load an overlay buffer with a bitmap (from flash) load status 0x8207 synchronous retrieve status of an active load buffer operation write buffer 0x8208 synchronous write directly to an overlay buffer read buffer 0x8209 synchronous read directly from an overlay buffer enable layer 0x820a synchronous enable or disable an overlay layer get layer status 0x820b synchronous retrieve the status of an overlay layer set string 0x820c synchronous set the character string get string 0x820d synchronous get the current character string load string 0x820e asynchronous load a character string (from flash)
asx340at/d rev. h, 8/15 en 35 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing table 16: gpio host commands gpio host command value type description set gpio property 0x8400 synchronous set a property of one or more gpio pins get gpio property 0x8401 synchronous retrieve a property of a gpio pin set gpo state 0x8402 synchronous set the state of a gpo pin or pins get gpio state 0x8403 synchronous ge t the state of a gpi pin or pins set gpi association 0x8404 synchronous associate a gpi pin state with a command sequence stored in spi flash get gpi association 0x8405 synchronous retrieve an gpio pin association table 17: flash manager host commands flash manager host command value type description get lock 0x8500 asynchronous request the flash manager access lock lock status 0x8501 synchronous retrieve th e status of the access lock request release lock 0x8502 synchronous release the flash manager access lock config 0x8503 synchronous configure the flash manager and underlying spi flash subsystem read 0x8504 asynchronous read data from the spi flash write 0x8505 asynchronous write data to the spi flash erase block 0x8506 asynchronous erase a block of data from the spi flash erase device 0x8507 asynchrono us erase the spi flash device query device 0x8508 asynchronous query device-specific information status 0x8509 synchronous obtain status of current asynchronous operation config device 0x850a synchronous confi gure the attached spi nvm device table 18: sequencer host commands sequencer host command value type description refresh 0x8606 synchronous refresh the automati c image processing algorithm configuration refresh status 0x8607 synchronous retrieve the status of the last refresh operation table 19: patch loader host commands patch loader host command value type description load patch 0x8700 asynchronous load a patch from spi flash and automatically apply status 0x8701 synchronous get stat us of an active load patch or apply patch request apply patch 0x8702 asynchronous apply a pa tch (already located in patch ram) reserve ram 0x8706 synchronous reserve ram to contain a patch table 20: miscellaneous host commands miscellaneous host command value type description invoke command seq 0x8900 synchronous invoke a sequence of commands stored in nvm config command seq processor 0x8901 synchrono us configures the command sequencer processor wait for event 0x8902 synchronous wait for a system event to be signalled
asx340at/d rev. h, 8/15 en 36 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor external signal processing table 21: calibration stats host commands calibration stats host command value type description control 0x8b00 asynchronous start statistics gathering read 0x8b01 synchronous read the results back
asx340at/d rev. h, 8/15 en 37 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor slave two-wire serial interface slave two-wire serial interface the two-wire serial interface bus enables read /write access to control and status regis- ters within the asx340at. this interface is de signed to be compatible with the mipi alli- ance standard for camera serial interfac e 2 (csi-2) 1.0, which uses the electrical characteristics and transfer protocols of th e two-wire serial interface specification. the interface protocol uses a master/slave model in which a master controls one or more slave devices. the sensor acts as a slave device. the master generates a clock (s clk ) that is an input to the sensor and used to synchronize transfers. data is transferred between the master an d the slave on a bidirectional signal (s data ). s data is pulled up to v dd _io off-chip by a pull-up resistor in the range of 1.5 to 4.7 k ? . protocol data transfers on the two-wire serial interf ace bus are performed by a sequence of low- level protocol elements, as follows: ? a start or restart condition ? a slave address/data direction byte ? a 16-bit register address ? an acknowledge or a no-acknowledge bit ?data bytes ? a stop condition the bus is idle when both s clk and s data are high. control of the bus is initiated with a start condition, and the bus is released with a stop condition. only the master can gener- ate the start and stop conditions. the s addr pin is used to select between two different addresses in case of conflict with another device. if s addr is low, the slave address is 0x90; if s addr is high, the slave address is 0xba. see table 22. start condition a start condition is defined as a high-to-low transition on s data while s clk is high. at the end of a transfer, the master can generate a start condition without previously generating a stop cond ition; this is known as a ?repeated start? or ?restart? condition. data transfer data is transferred serially, 8 bits at a time, with the msb transmitted first. each byte of data is followed by an acknowledge bit or a no-acknowledge bit. this data transfer mechanism is used for the slave address/da ta direction byte and for message bytes. one data bit is transferred during each s clk clock period. s data can change when s clk is low and must be stable while s clk is high. table 22: two-wire interface id address switching s addr two-wire interface address id 00x90 10xba
asx340at/d rev. h, 8/15 en 38 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor slave two-wire serial interface slave address/data direction byte bits [7:1] of this byte represent the device slave address and bit [0] indicates the data transfer direction. a ?0? in bit [0] indicates a write, and a ?1? indicates a read. the default slave addresses used by the asx340at are 0x90 (write address) and 0x91 (read address). alternate slave addresses of 0xba (write address) and 0xbb (read address) can be selected by asserting the s addr input signal. message byte message bytes are used for sending register addresses and register write data to the slave device and for retrieving register read data. the protocol used is outside the scope of the two-wire serial interface specification. acknowledge bit each 8-bit data transfer is followed by an acknowledge bit or a no-acknowledge bit in the s clk clock period following the data transfer. the transmitter (which is the master when writing, or the slave when reading) releases s data . the receiver indicates an acknowl- edge bit by driving s data low. as for data transfers, s data can change when s clk is low and must be stable while s clk is high. no-acknowledge bit the no-acknowledge bit is generated when the receiver does not drive s data low during the s clk clock period following a data transfer . a no-acknowledge bit is used to termi- nate a read sequence. stop condition a stop condition is defined as a low-to-high transition on s data while s clk is high.
asx340at/d rev. h, 8/15 en 39 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor slave two-wire serial interface typical operation a typical read or write sequence begins by the master generating a start condition on the bus. after the start condition, the master sends the 8-bit slave address/data direction byte. the last bit indicates whether the requ est is for a read or a write, where a ?0? indicates a write and a ?1? indicates a read. if the address matches the address of the slave device, the slave device acknowledges receipt of the address by generating an acknowledge bit on the bus. if the request was a write, the master then tr ansfers the 16-bit register address to which a write will take place. this transfer take s place as two 8-bit sequences and the slave sends an acknowledge bit after each sequen ce to indicate that the byte has been received. the master will then transfer the 16-bit data, as two 8-bit sequences and the slave sends an acknowledge bit after each sequ ence to indicate that the byte has been received. the master stops writing by generat ing a (re)start or stop condition. if the request was a read, the master sends the 8-bi t write slave address/data direction byte and 16-bit register address, just as in the write request. the master then generates a (re)start condition and the 8-bit read slave address/data direction byte, and clocks out the register data, 8 bits at a time. the mast er generates an acknowledge bit after each 8-bit transfer. the data transfer is stopped when the master sends a no-acknowledge bit. single read from random location figure 17 shows the typical read cycle of the host to the asx340at. the first two bytes sent by the host are an internal 16-bit register address. the following 2-byte read cycle sends the contents of the registers to host. figure 17: single read from random location single read from current location figure 18 shows the single read cycle without writing the address. the internal address will use the previous address value written to the register. figure 18: single read from current location s = start condition p = stop condition sr = restart condition a = acknowledge a = no-acknowledge slave to master master to slave slave address 0 s a reg address[15:8] a reg address[7:0] slave address a a 1 sr read data [15:8] p previous reg address, n reg address, m m+1 a read data [7:0] a slave address 1 s a read data [15:8] slave address a 1 s p read data [15:8] p previous reg address, n reg address, n+1 n+2 a a read data [7:0] a read data [7:0] a
asx340at/d rev. h, 8/15 en 40 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor slave two-wire serial interface sequential read, start from random location this sequence (figure 19) starts in the same way as the single read from random loca- tion (figure 17 on page 39). instead of gener ating a no-acknowledge bit after the first byte of data has been transferred, the master generates an acknowledge bit and continues to perform byte reads until ?l? bytes have been read. figure 19: sequential read, start from random location sequential read, start from current location this sequence (figure 20) starts in the same way as the single read from current loca- tion (figure 18). instead of generating a no-a cknowledge bit after the first byte of data has been transferred, the master genera tes an acknowledge bit and continues to perform byte reads until ?l? bytes have been read. figure 20: sequential read, start from current location single write to random location figure 21 shows the typical write cycle from the host to the asx340at.the first 2 bytes indicate a 16-bit address of the internal registers with most-significant byte first. the following 2 bytes indicate the 16-bit data. figure 21: single write to random location read data (15:8) a a read data (15:8) a read data (7:0) a slave address 0 s sr a reg address[15:8] a reg address[7:0] a read data slave address previous reg address, n reg address, m m+1 m+2 m+1 m+3 a 1 m+l-2 m+l-1 m+l a p a read data (15:8) a read data (7:0) a read data (15:8) a read data (7:0) a read data (7:0) a read data read data previous reg addr ess, n n+1 n+2 n+l-1 n+l a read data slave address a a 1 a s p read data (15:8) a read data (7:0) a read data (15:8) a read data (7:0) a read data (15:8) a read data (7:0) a read data read data (15:8) a read data (7:0) s lave a dd ress 0 s a re g a dd ress[15:8] a re g a dd ress[7:0] a p previous re g a dd ress, n re g a dd r ess, m m+1 a a wri te data
asx340at/d rev. h, 8/15 en 41 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor slave two-wire serial interface sequential write, start at random location this sequence (figure 22) starts in the same way as the single write to random location (figure 21). instead of generating a no-acknowledge bit after the first byte of data has been transferred, the master generates an acknowledge bit and continues to perform byte writes until ?l? bytes have been writte n. the write is terminated by the master generating a st op condition. figure 22: sequential write, start at random location slave address 0 s a reg address[15:8] write data a reg address[7:0] a write data previous reg address, n reg address, m m+1 m+2 m+1 m+3 a aa write data write data m+l-2 m+l-1 m+l a a p write data (15:8) write data (7:0) write data (15:8) a write data (7:0) a a a a write data a write data (15:8) a write data (7:0) a write data write data (15:8) a write data (7:0)
asx340at/d rev. h, 8/15 en 42 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor overlay capability overlay capability figure 23 highlights the graphical overlay data flow of theasx340at. the images are separated to fit into 2 kb blocks of memory after compression. ? up to four overlays may be blended simultaneously ? overlay size 360 x 480 pixels re ndered into a display area of 720 x 480 pixels (ntsc) or 720 x 576 (pal) ? selectable readout: rotating order is user programmable ? dynamic movement through predefined overlay images ? palette of 32 colors out of 6 4,000 with eight colors per bitmap ? blend factors may be changed dynami cally to achieve smooth transitions the host commands allow a bitmap to be written piecemeal to a memory buffer through the two-wire serial interface, and also through dma direct from spi flash memory. multiple encoding passes may be required to fit an image into a 2kb block of memory; alternatively, the image can be divided into two or more blocks to make the image fit. every graphic image may be positioned in the horizontal and vertical direction and overlap with other graphic images. the host may load an image at any time. un der control of dma assist, data are trans- ferred to the off-screen buffer in compressed form. this assures that no display data are corrupted during the replenishment of the four active overlay buffers. figure 23: overlay data flow note: these images are not actually rendered, but show conceptual objects and object blending. off-screen buffer overlay buffers: 2kb each decompress blend and overlay flash bitmaps - compressed
asx340at/d rev. h, 8/15 en 43 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor nvm partition nvm partition the contents of the flash/eeprom memory pa rtition logically into three blocks (see figure 24): ? memory for overlay data and descriptors ? memory for register settings, wh ich may be loaded at boot-up ? firmware extensions or software patches; in addition to the on-chip firmware, exten- sions reside in this block of memory these blocks are not necessarily contiguous. figure 24: memory partitioning external memory speed requirement for a 2 kb block of overlay to be transfer red within a frame time to achieve maximum update rate, the spi nvm must operate at a certain minimum speed. table 23: transfer time estimate frame time spi clock transfer time for 2 kb 33.3ms 4.5 mhz 1ms s/w patch alternate reg. overlay data f f l a s h p a r t i t i o n i n g f i x e d s i z e o v e r l a y s - r l e 1 2 b y t e h e a d e r r l e e n c o d e d d a t a 2 k b y t e f i x e d s i z e o v e r l a y s - r l e fixed-size overlays C rle fixed-size overlays C rle flash partitioning overlay data software patch 12-byte header rle encoded data 2kb lens shading correction parameter alternate register setting
asx340at/d rev. h, 8/15 en 44 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor overlay adjustment overlay adjustment to ensure a correct position of the overlay to compensate for assembly deviation, the overlay can be adjusted with assistance from the overlay statistics engine: ? the overlay statistics engine supports a windowed 8-bin luma histogram, either row- wise (vertical) or column-wise (horizontal). ? the calibration statistics can be used to perform an automatic successive-approxima- tion search of a cross-hair target within the scene. ? on the first frame, the firmware performs a coarse horizontal search, followed by a coarse vertical search in the second frame. ? in subsequent frames, the firmware reduces th e region-of-interest of the search to the histogram bins containing the greatest accumulator values, thereby refining the search. ? the resultant row and column location of the cross-hair target can be used to assign a calibration value to offset selected overlay graphic image positions within the output image. ? the calibration statistics patch also suppo rts a manual mode, which allows the host to access the raw accumulator values directly.
asx340at/d rev. h, 8/15 en 45 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor overlay character generator figure 25: overlay calibration the position of the target will be used to determine the calibration value that shifts the row and column position of adjustable overlay graphics. the overlay calibration is intended to be applied on a device by device basis ?in system,? which means after the camera has been in stalled. on semiconductor provides basic programming scripts that may reside in the sp i flash memory to assist in this effort. overlay character generator in addition to the four overlay layers, a fift h layer exists for a character generator overlay string. there are a total of: ? 16 alphanumeric characters available ? 22 characters maximum per line ? 16 x 32 pixels with 1-bit color depth
asx340at/d rev. h, 8/15 en 46 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor overlay character generator any update to the character generator string requires the string to be passed in its entirety with the host command. character strings have their own control properties aside from the overlay bitmap properties. figure 26: internal block diagram overlay overlay layer0 layer1 layer2 layer3 bt656 number generator bt656 timing control user registers data bus dma/cpu register bus rom
asx340at/d rev. h, 8/15 en 47 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor overlay character generator character generator the character generator can be seen as the fifth top layer, but instead of getting the source from rle data in the memory buffers, it has 16 predefined characters stored in rom. all the characters are 1-bit depth color and are sharing the same ycbcr look up table. figure 27: example of character descriptor 0 stored in rom it can show a row of up to 22 characters of 16 x 32 pixels resolution (32 x 32 pixels when blended with the bt 656 data). rom 151413121110 9 8 7 6 5 4 3 2 1 0 0x00 0000000000000000 0x02 0000000000000000 0x04 0000001111000000 0x06 0000011111100000 0x08 0000111111110000 0x0a 0001111001111000 0x0c 0001110000111100 0x0e 0011110000011100 0x10 0011100000011100 0x12 0011100000011110 0x14 0111100000001110 0x16 0111000000001110 0x18 0111000000001110 0x1a 0111000000001110 0x1c 0111000000001110 0x1e 0111000000001110 0x20 0111000000001110 0x22 0111000000001110 0x24 0111000000001110 0x26 0111000000001110 0x28 0011100000001110 0x2a 0011100000011110 0x2c 0011100000011100 0x2e 0011110000011100 0x30 0001110000111000 0x32 0001111001111000 0x34 0000111111110000 0x36 0000011111100000 0x38 0000001111000000 0x3a 0000000000000000 0x3c 0000000000000000 0x3e 0000000000000000 ?
asx340at/d rev. h, 8/15 en 48 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor overlay character generator character generator details table 24 shows the characters that can be generated. it is the responsibility of the user to set up proper values in the character positioning to fit them in the same row (that is one of the reasons that 22 is the maximum number of characters). note: no error is generated if the character row overruns the horizontal or vertical limits of the frame. full character set for overlay figure 28 shows all of the characters that can be generated by the asx340at. figure 28: full character set for overlay table 24: character generator details item quantity description 16-bit character 22 code for one of these characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, /, (space), :, C, (comma), (period) 1 bpp color 1 depth of the bit map is 1 bpp 0x0 0x4 0x 8 0xc 0x 1 0x5 0x9 0x2 0x3 0x6 0x7 0xa 0x b 0xd 0xe 0xf
asx340at/d rev. h, 8/15 en 49 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing modes and timing this section provides an overview of the typical usage modes and related timing infor- mation for the asx340at. composite video output the external pin d out _lsb0 can be used to configure the device for default ntsc or pal operation (auto-config mode). this and othe r video configuration settings are available as register settings accessible through the serial interface. ntsc both differential and single-e nded connections of the full ntsc format are supported. the differential connection that uses two output lines is used for low noise or long distance applications. the single-ended connection is used for pcb tracks and screened cable where noise is not a concern. the ntsc format has three black lines at the bottom of each image for padding (which most lcds do not display). pal the pal format is supported with 576 active image rows. single-ended and differential composite output the composite output can be operated in a si ngle-ended or differential mode by simply changing the external resistor configuration. refer to the developer guide for configura- tion options. parallel output (d out ) the d out [7:0] port supports both progressive and interlaced mode. progressive mode (with fv and lv signal) include raw bayer(8 or 10 bit), ycbcr, rgb. interlaced mode is ccir656 compliant. figure 29 shows the data that is output on the parallel port for ccir656. both ntsc and pal formats are displayed. the blue values in figure 29 represent ntsc (525/60). the red values represent pal (625/50). figure 29: ccir656 8-bit parallel interface format for 525/60 (625/50) video systems f f 0 0 0 0 x y 8 0 1 0 8 0 1 0 8 0 1 0 f f 0 0 0 0 x y c b y c r y c b y c r y c r y f f 4 4 268 280 4 4 1440 1440 1716 1728 eav code blanking sav code co - sited _ co - sited _ start of digital line start of digital active line next line digital video stream
asx340at/d rev. h, 8/15 en 50 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing figure 30 shows detailed vertical blanking information for ntsc timing. see table 25 for data on field, vertical blanking, eav, and sav states. figure 30: typical ccir656 vertical bl anking intervals for 525/60 video system figure 31 on page 51 shows detailed vertical blanking information for pal timing. see table 26 on page 51 for data on field, ve rtical blanking, eav, and sav states. table 25: field, vertical blanking, eav, and sav states 525/60 video system line number f v h (eav) h (sav) 1C3 1 1 1 0 4C9 0 1 1 0 20C263 0 0 1 0 264C265 0 1 1 0 266C282 1 1 1 0 283C525 1 0 1 0 b l an ki ng fiel d 1 active vi d eo b l an ki ng fiel d 2 active vi d eo li n e 4 266 fiel d 1 (f = 0) o dd fiel d 2 (f = 1 ) eve n eav sav li n e 1 (v = 1 ) li n e 20 (v = 0) li n e 26 4 (v = 1 ) li n e 2 83 (v = 0) li n e 525 (v = 0) h = 1 h = 0
asx340at/d rev. h, 8/15 en 51 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing figure 31: typical ccir656 vertical bl anking intervals for 625/50 video system table 26: field, vertical blanking, eav, and sav states for 625/50 video system line number f v h (eav) h (sav) 1C22 0 1 1 0 23C310 0 0 1 0 311C312 0 1 1 0 313C335 1 1 1 0 336C623 1 0 1 0 624C625 1 1 1 0 b l an ki ng fiel d 1 active vi d eo b l an ki ng fiel d 2 active vi d eo fiel d 1 (f = 0) o dd fiel d 2 (f = 1 ) eve n h = 1 eav h = 0 sav b l an ki ng li n e 1 (v = 1 ) li n e 2 3 (v = 0) li n e 311 (v = 1 ) li n e 33 6 (v = 0) li n e 625 (v = 1 ) li n e 62 4 (v = 1 )
asx340at/d rev. h, 8/15 en 52 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing reset and clocks reset power-up reset is asserted or de-asserted with the reset_bar pin, which is active low. in the reset state, all control registers are set to default values. see ?device configura- tion? on page 28 for more details on auto, host, and flash configurations. soft reset is asserted or de-asserted by the two-wire serial interface. in soft-reset mode, the two-wire serial interface and the register bus are still running. all control registers are reset using default values. clocks the asx340at has two primary clocks: ? a master clock coming from the extclk signal. ? in default mode, a pixel clock (pixclk) ru nning at 2 * extclk. in raw bayer bypass mode, pixclk runs at the same frequency as extclk. when the asx340at operates in raw bayer bypass mode, the image flow pipeline clocks can be shut off to conserve power. the sensor core is a master in the system. the sensor core frame rate defines the overall image flow pipeline frame rate. horizontal bl anking and vertical blanking are influenced by the sensor configuration, and are also a fu nction of certain imag e flow pipeline func- tions. the relationship of the primar y clocks is depicted in figure 32. the image flow pipeline typically generates up to 16 bits per pixel?for example, ycbcr or 565rgb?but has only an 8-bit port through which to communicate this pixel data. to generate ntsc or pal format images, the sensor core requires a 27 mhz clock. figure 32: primary clock relationships 10 bits/pixel 1 pixel/clock 16 bits/pixel 1 pixel/clock 16 bits/pixel (typ) 0.5 pixel/clock colorpipe output interface sensor pixel clock sensor master clock extclk sensor core
asx340at/d rev. h, 8/15 en 53 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing floating inputs the following asx340at pins cannot be floated: ?s data ?this pin is bidirectional and should not be floated ? frame_sync ?trst_n ?s clk ?s addr ?atest1 ?atest2 output data ordering note: pixclk is 54 mhz wh en extclk is 27 mhz. note: pixclk is 27 mhz wh en extclk is 27 mhz. table 27: output data ordering in d out rgb mode mode (swap disabled) byte d7 d6 d5 d4 d3 d2 d1 d0 565rgb first r7r6r5r4r3g7g6g5 second g4 g3 g2 b7 b6 b5 b4 b3 555rgb first 0 r7 r6 r5 r4 r3 g7 g6 second g5 g4 g3 b7 b6 b5 b4 b3 444xrgb first r7r6r5r4g7g6g5g4 second b7 b6 b5 b4 0 0 0 0 x444rgb first 0000r7r6r5r4 second g7 g6 g5 g4 b7 b6 b5 b4 table 28: output data ordering in sensor stand-alone mode mode d7 d6 d5 d4 d3 d2 d1 d0 d out _lsb1 d out _lsb0 10-bit output b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
asx340at/d rev. h, 8/15 en 54 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing i/o circuitry figure 33 illustrates typical circuitry used for each input, output, or i/o pad. figure 33: typical i/o equivalent circuits note: all i/o circuitry shown above is for reference only. the actual implementation may be different. v dd _io receiver input pad pad gnd v dd _io receiver spi_sdi and reset_bar input pad pad gnd receiver gnd v dd _io pad i/o pad slew rate control v dd _io receiver sclk and xtal_in input pad pad gnd gnd xtal output pad pad v dd _io
asx340at/d rev. h, 8/15 en 55 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing figure 34: ntsc block note: all i/o circuitry shown above is for reference only. the actual implementation may be different. figure 35: serial interface pad v dd_ dac gnd pad pad esd esd dac_ref esd dac_pos dac_neg ntsc block resistor 2.35k
asx340at/d rev. h, 8/15 en 56 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing i/o timing digital output by default, the asx340at launches pixel data , fv, and lv synchronously with the falling edge of pixclk. the expectation is that the user captures data, fv, and lv using the rising edge of pixclk. the timing diagram is shown in figure 36. as an option, the polarity of the pixclk ca n be inverted from the default by program- ming r0x0016[14]. figure 36: digital output i/o timing note: pixclk can be inverted from the default by programming r0x0016[14]. table 29: parallel digital output i/o timing f extclk = 27 mhz; v dd = 1.8v; v dd _io = 2.8v; v aa = 2.8v; v aa _pix = 2.8v; v dd _pll = 2.8v; v dd _dac = 2.8v; default slew rate signal parameter conditions min typ max unit extclk f extclk 6 27 54 mhz t extclk_period 18.52 37 166.67 ns duty cycle 45 50 55 % pixclk 1 f pixclk 6 27 54 mhz t pixclk_period 18.52 37.04 166.67 ns duty cycle 45 50 55 % data[7:0] t pixclkf_dout 1.55 C 1.9 ns t dout_su 18 C 20 ns t dout_ho 18 C 20 ns fv/lv t pixclkf_fvlv 1.6 C 3.05 ns t fvlv_su 15 C 16 ns t fvlv_ho 20 C 21 ns ext clk pixclk d out [7 :0] fram e_valid line_valid t pixclkf_dout t pixclkf_fvlv input output output output t fv lv_su t fv lv_ho t dout_ho t dout_su t extclk_period
asx340at/d rev. h, 8/15 en 57 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing slew rate figure 37: slew rate timing table 30: slew rate for pixclk and d out f extclk = 27 mhz; v dd = 1.8v; v dd _io = 2.8v; v aa = 2.8v; v ?? _pix = 2.8v; v dd _pll = 2.8v; v dd _dac = 2.8v; t = 25c; c load = 40 pf pixclk d out [7:0] unit r0x1e [10:8] rise time fall time r0x1e [2:0] rise time fall time 000 na na 000 15.0 13.5 ns 001 na na 001 9.0 8.5 ns 010 7.0 6.9 010 6.8 6.0 ns 011 5.2 5.0 011 5.2 4.8 ns 100 4.0 3.8 100 3.8 3.5 ns 101 3.0 2.8 101 3.3 3.3 ns 110 2.4 2.2 110 3.0 3.0 ns 111 1.9 1.7 111 2.8 2.8 ns 90% 10% t rise t fa ll pixclk d out t rise t fa ll 90% 10%
asx340at/d rev. h, 8/15 en 58 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing configuration timing during start-up, the dout_lsb0, lv and fv ar e sampled. setup and hold timing for the reset_bar signal with respect to d out _lsb0, lv, and fv are shown in figure 38 and table 31. these signals are sampled once by the on-chip firmware, which yields a long t hold time. figure 38: configuration timing note: table data is based on extclk = 27 mhz. table 31: configuration timing signal parameter min typ max unit d out _lsb0, frame_valid, line_valid t setup 0 ? s t hold 50 ? s t setup t hold valid data reset_bar d out _lsb0 frame_valid line_valid
asx340at/d rev. h, 8/15 en 59 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing figure 39: power up sequence notes: 1. delay between vdd and extclk depends on custo mer devices, i.e. xtal, oscillator, and so on. there is no requirement on this from the sensor. 2. hard reset time is the minimum time required after power rails are settled. ten clock cycles are required for the sensor itself, assuming all power rails are settled. in a circuit where hard reset is performed by the rc circuit, then the rc time must include the all power rail settle time and xtal. 3. the time for patch config spi or host, that is, t5, depends on the patches being applied. table 32: power up sequence definition symbol minimum typical maximum unit v dd _pll to v aa /v aa _pix t0 0 C C ? s v aa /v aa _pix to v dd _io t1 0 C C ? s v dd _io to v dd t2 0 C C ? s hard reset t3 2 C C ? s internal initialization t4 14 C C ms v dd (1.8) v aa _pix v aa (2.8) v dd _pll v dd _dac (2.8) extclk reset_bar v dd _io (2.8) t3 t4 t5 t0 t1 hard reset internal initialization patch config spi or host streaming t2
asx340at/d rev. h, 8/15 en 60 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing figure 40: power down sequence (1) t3 is required between power down and next power up time, all decoupling caps from regulators must completely discharge before next power up. figure 41: frame_sync to frame_valid/line_valid table 33: power down sequence definition symbol minimum typical maximum unit v dd to v dd _io t0 0CC ? s v dd _io to v aa /v aa _pix t10CC ? s v aa /v aa _pix to v dd _pll/dac t20CC ? s power down until next power up time t3 100 1 CCms table 34: frame_sync to frame_valid/line_valid parameters parameter name conditions min typ max unit frame_sync to fv/lv t frmsync_fvh interlaced mode 1.22 C C ms t frame_sync t framesync 1 ? s v dd (1.8) v aa _pix v aa (2.8) v dd _pll v dd _dac (2.8) extclk v dd _io (2.8) t3 t0 t2 t1 power down until next power up cycle frame_sync frame_valid line_valid t frame_sync t frmsynh_fvh
asx340at/d rev. h, 8/15 en 61 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor modes and timing figure 42: reset to spi access delay figure 43: reset to serial access delay figure 44: reset to ae/awb image table 35: reset_bar delay parameters parameter name condition min typ max unit reset_bar high to spi_cs_n low trsth_csl 13 C C ms reset_bar high to s data low trsth_sdatal 18 C C ms reset_bar high to frame_valid trsth_fvl 14 C C ms reset_bar high to first overlay trsth_ovl overlay size dependent C C C ms reset_bar high to ae/awb settled trsth_aeawb scene dependent C C C ms reset_bar high to first ntsc frame trsth_ntsc 47 C C ms reset_bar high to first pal frame trsth_pal 53 C C ms r eset_bar t rsth_csl spi_cs_n reset_bar s data t rsth _ sdatal first frame overlay from flash reset_bar video t rsth_fvl t rsth_ovl t rsth_aeawb ae/awb settled
asx340at/d rev. h, 8/15 en 62 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications electrical specifications figure 45: spi output timing caution stresses greater than those listed in table 37 may cause permanent damage to the device. this is a stress rating only, and functional ope ration of the device at these or any other con- ditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect reliabil- ity. note: rating column gives the maximum and minimum values that the device can tolerate. table 36: spi data setup and hold timing parameter description min typ max units f spi_sclk spi_sclk frequency 1.6875 4.5 18 mhz t su setup time C C 110 ns t sclk_sdo hold time 110 ns t cs_sclk delay from falling edge of spi_cs_n to rising edge of spi_sclk C 230 C ns table 37: absolute maximum ratings symbol parameter rating unit min max v dd digital power (1.8v) -0.3 2.4 v v dd _io i/o power (2.8v) -0.3 4 v v aa v aa analog power (2.8v) -0.3 4 v v aa _pix pixel array power (2.8v) -0.3 4 v v dd _pll pll power (2.8v) -0.3 4 v v dd _dac dac power (2.8v) -0.3 4 v v in dc input voltage -0.3 v dd _io+0.3 v v out dc output voltage -0.3 v dd _io+0.3 v t stg storage temperature -50 150 c t su spi_cs_n spi_sclk spi_sdi spi_sdo t cs_sclk t sclk_sdo
asx340at/d rev. h, 8/15 en 63 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications notes: 1. v aa and v aa _pix must all be at the same potential to avoid excessive current draw. care must be taken to avoid excessive noise injection in the anal og supplies if all three supplies are tied together. 2. the imager operates in this temperature rang e, but image quality may degrade if it operates beyond the functional operating temperature range. 3. image quality is not guaranteed at temperat ures equal to or greater than this range. note: dac_pos, dac_neg, and dac_ref are loaded with resistors to simulate video output driving into a low pass filter and achieve a full output swing of 1.4v. their resistor loadings may be different from the loadings in a real single-ended or differ ential-ended video output system with an actual receiving end. please refer to the develo per guide for proper resistor loadings. table 38: electrical characteristics and operating conditions parameter 1 condition min typ max unit core digital voltage (v dd ) C 1.70 1.8 1.95 v io digital voltage (v dd _io) C 2.66 2.8 2.94 v video dac voltage (v dd _dac) C 2.66 2.8 2.94 v pll voltage (v dd _pll) C 2.66 2.8 2.94 v analog voltage (v aa ) C 2.66 2.8 2.94 v pixel supply voltage (v aa _ pix) C 2.66 2.8 2.94 v imager operating temperature 2 C C40 +105 c functional operating temperature 3 C40 +85 c storage temperature C C50 +150 c table 39: video dac electrical characteristicsCsingle-ended mode f extclk = 27 mhz; v dd = 1.8v; v dd _io = 2.8v; v aa = 2.8v; v aa _pix = 2.8v; v dd _pll = 2.8v; v dd _dac = 2.8v parameter condition min typ max unit resolution C 10 - bits dnl C 0.2 0.4 bits inl C 0.7 3.5 bits output local load output pad (dac_pos) C 37.5 - ? unused output (dac_neg) C 37.5 - ? output voltage single-ended mode, code 000h C .021 - v single-ended mode, code 3ffh C 1.392 - v output current single-ended mode, code 000h C 0.560 - ma single-ended mode, code 3ffh C 37.120 - ma supply current estimate C - 25.0 ma dac_ref dac reference C 1.200 - v r dac_ref dac reference C 2.4 - k ?
asx340at/d rev. h, 8/15 en 64 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications note: dac_pos, dac_neg, and dac_ref are loaded with resistors to simulate video output driving into a low pass filter and achieve a full output swing of 1.4v. their resistor loadings may be different from the loadings in a real single-ended or differ ential-ended video output system with an actual receiving end. please refer to the develo per guide for proper resistor loadings. notes: 1. all inputs are protected and may be active when all supplies (2.8v and 1.8v) are turned off. table 40: video dac electrical characteristicsCdifferential mode f extclk = 27 mhz; v dd = 1.8v; v dd _io = 2.8v; v aa = 2.8v; v aa _pix = 2.8v; v dd _pll = 2.8v; v dd _dac = 2.8v parameter condition min typ max unit dnl C 0.2 0.4 bits inl C 0.7 3.5 bits output local load differential mode per pad (dac_pos and dac_neg) C 37.5 C ? output voltage differential mode, code 000h, pad dacp C .022 C v differential mode, code 000h, pad dacn C 1.421 C v differential mode, code 3ffh, pad dacp C 1.421 C v differential mode, code 3ffh, pad dacn C .022 C v output current differential mode, code 000h, pad dacp C .587 C ma differential mode, code 000h, pad dacn C 37.893 C ma differential mode, code 3ffh, pad dacp C 37.893 C ma differential mode, code 3ffh, pad dacn C .587 C ma supply current estimate C C 50 ma dac_ref dac reference C 1.2 v r dac_ref dac reference 2.4 k ? table 41: digital i/o parameters t a = ambient = 25c; all supplies at 2.8v signal parameter definitions condition min typ max unit all outputs load capacitance 5 C 30 pf v oh output high voltage 0.7 * v dd _io C v v ol output low voltage C C 0.3* v dd _io v i oh output high current v oh = v dd _io - 0.4v 20 C 35 ma i ol output low current v ol = 0.4v 29 C 53 ma all inputs v ih input high voltage 0.7 * v dd _io C v dd _io + 0.5 v v il input low voltage C0.3 C 0.3 * v dd _io v i i h input high leakage current 0.02 C 0.26 ? a i i l input low leakage current 0.01 C 0.05 ? a signal cap input signal capacitance C6.5 Cpf
asx340at/d rev. h, 8/15 en 65 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications power consumption, operating mode analog output uses single-ended mode: dac_pos = 75 ? , dac_neg = 37.5 ? , dac_ref = 2.4k ? , parallel output is disabled. analog output is disabled; parallel output is enabled. table 42: power consumption C condition 1 f extclk = 27 mhz; t = 25oc, dark condition (lens with cover) power plane supply condition 1 typ power max power unit v dd 1.8 48.2 72 mw v dd _io 2.8 parallel off 2.2 10 mw v aa 2.8 96 140 mw vaa_pix 2.8 2.2 5 mw v dd _dac 2.8 single 75 ? 122.9 146 mw v dd _pll 2.8 18.8 25 mw total 290.3 398 mw table 43: power consumption C condition 2 f extclk = 27 mhz; t = 25oc, dark condition (lens with cover), c load = 40pf power plane supply condition 2 typ power max power unit v dd 1.8 47.5 72 mw v dd _io 2.8 parallel on 26.6 50 mw v aa 2.8 95.5 140 mw vaa_pix 2.8 2.2 5 mw v dd _dac 2.8 vdac off 1.1 5 mw v dd _pll 2.8 18.8 25 mw total 191.7 297 mw
asx340at/d rev. h, 8/15 en 66 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications ntsc signal parameters notes: 1. black and white levels are referenced to the blanking level. 2. ntsc convention standardized by the ire (1 ire = 7.14mv). 3. encoder contrast setting r0x3c0a[5:4] = 0. 4. dac ref=2.8k ? , load = 37.5 ?? table 44: ntsc signal parameters f extclk = 27 mhz; v dd = 1.8v; v dd _io = 2.8v; v aa = 2.8v; v aa _pix = 2.8v; v dd _pll = 2.8v; v dd _dac = 2.8v parameter conditions min typ max units notes line frequency 15734.25 15734.27 15734.28 hz field frequency 59.94 59.94 59.94 hz sync rise time 111 148 222 ns sync fall time 111 148 222 ns sync width 4.6 4.74 4.8 ? s sync level 39 40 41 ire 2, 4 burst level 36 40 44 ire 2, 4 sync to setup (with pedestal off) 9.2 9.5 10.3 ? s sync to burst start 4.71 5.3 5.71 ? s front porch 1.27 1.7 2.22 ? s black level 5 7.5 10 ire 1, 2, 4 white level 90 100 110 ire 1, 2, 3, 4
asx340at/d rev. h, 8/15 en 67 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications figure 46: video timing table 45: video timing: specification from rec. itu-r bt.470 signal ntsc 27 mhz pal 27 mhz units a h period 63.556 64.00 ? s b hsync to burst 4.71 to 5.71 5.60 0.10 ? s c burst 2.23 to 3.11 2.25 0.23 ? s d hsync to signal 9.20 to 10.30 10.20 0.30 ? s e video signal 52.655 0.20 52 +0, -0.3 ? s f front 1.27 to 2.22 1.5 +0.3, -0.0 ? s ghsync period4.70 0.10 4.70 0.20 ? s h sync rising/falling edge ? 0.25 0.20 0.10 ? s h f a h de b c g
asx340at/d rev. h, 8/15 en 68 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications figure 47: equalizing pulse table 46: equalizing pulse: specification from rec. itu-r bt.470 signal ntsc 27 mhz pal 27 mhz units i h/2 period 31.778 32.00 ? s j pulse width 2.30 0.10 2.35 0.10 ? s k pulse rising/falling edge ? 0.25 0.25 0.05 ? s l signal to pulse 1.50 -0.10 3.0 2.0 ? s l j i k k
asx340at/d rev. h, 8/15 en 69 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications figure 48: v pulse table 47: v pulse: specification from rec. itu-r bt.470 signal ntsc 27 mhz pal 27 mhz units m h/2 period 31.778 32.00 ? s n pulse width 27.10 (nominal) 27.30 0.10 ? s o v pulse interval 4.70 0.10 4.70 0.10 ? s p pulse rising/falling edge ? 0.25 0.25 0.05 ? s n m o p p
asx340at/d rev. h, 8/15 en 70 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications two-wire serial bus timing figure 49 and table 48 describe the timi ng for the two-wire serial interface. figure 49: two-wire serial bus timing parameters notes: 1. this table is based on i 2 c standard (v2.1 january 2000). philips semiconductor. 2. two-wire control is i 2 c-compatible. 3. all values referred to v ihmin = 0.9 v dd and v ilmax = 0.1v dd levels. sensor exclk = 27 mhz. 4. a device must internally provide a hold time of at least 300 ns for the s data signal to bridge the undefined region of the falling edge of s clk . 5. the maximum t hd;dat has only to be met if the device does not stretch the low period (t low ) of the s clk signal. 6. a fast-mode i 2 c-bus device can be used in a standard-mode i 2 c-bus system, but the requirement t su;dat 250 ns must then be met. this will automati cally be the case if the device does not stretch the low period of the s clk signal. if such a device does stretch the low period of the s clk signal, it table 48: two-wire serial bus characteristics f extclk = 27 mhz; v dd = 1.8v; v dd _io = 2.8v; v aa = 2.8v; v aa _pix = 2.8v; v dd _pll = 2.8v; v dd _dac = 2.8v; t a = 25c parameter symbol standard mode fast mode unit min max min max s clk clock frequency f scl 0100 0 400khz hold time (repeated) start condition. after this period, the first clock pulse is generated t hd;sta 4.0 - 0.6 - ? s low period of the s clk clock t low 4.7 - 1.3 - ? s high period of the s clk clock t high 4.0 - 0.6 - ? s set-up time for a repeated start condition t su;sta 4.7 - 0.6 - ? s data hold time t hd;dat 0 4 3.45 5 0 6 0.9 5 ? s data set-up time t su;dat 250 - 100 6 - ns rise time of both s data and s clk signals t r - 1000 20 + 0.1cb 7 300 ns fall time of both s data and s clk signals t f - 300 20 + 0.1cb 7 300 ns set-up time for stop condition t su;sto 4.0 - 0.6 - ? s bus free time between a stop and start condition t buf 4.7 - 1.3 - ? s capacitive load for each bus line c b - 400 - 400 pf serial interface input pin capacitance c in_si - 3.3 - 3.3 pf s data max load capacitance c load_sd - 30 - 30 pf s data pull-up resistor r sd 1.5 4.7 1.5 4.7 k ? s sr t su;sto t su;sta t hd;sta t high t low t su;dat t hd;dat t f s data s clk p s t buf t r t f t r t hd;sta
asx340at/d rev. h, 8/15 en 71 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor electrical specifications must output the next data bit to the s data line t r max + t su;dat = 1000 + 250 = 1250 ns (according to the standard-mode i 2 c-bus specification) before the s clk line is released. 7. cb = total capacitance of one bus line in pf.
asx340at/d rev. h, 8/15 en 72 ?semiconductor components industries, llc, 2015 asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor spectral characteristics spectral characteristics figure 50: quantum efficiency note: the measurements were done on packaged parts with regula r glass coating (that is, without anti-reflective glass (arc) coat ing). 0 10 20 30 40 50 60 350 450 550 650 750 850 950 1050 1150 quantum e?ciency (%) wavelength (nm) red greenr greenb blue
asx340at/d rev. h, 8/15 en 73 ?semiconductor components industries, llc, 2015 asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor spectral characteristics package and die dimensions figure 51: 63-ball ibga package outline drawing
asx340at/d rev. h, 8/15 en 74 ?semiconductor components industries, llc, 2015. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor revision history revision history rev. h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8/31/15 ? updated ?ordering information? on page 3 rev. g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6/1/15 ? updated ?ordering information? on page 3 rev. f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5/29/15 ? updated ?ordering information? on page 3 ? removed confidential marking rev. e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11/12/14 ? applied on semiconductor template ? updated table 2, ?key parameters (continued),? on page 2 ? updated figure 2: ?system block diagram,? on page 8 ? updated note to figure 3: ?using a crysta l instead of an external oscillator,? on page 9 ? updated table 4, ?pin descriptions,? on page 10 ? updated ?pixel array structure? on page 15 ? updated figure 5: ?pixel array description,? on page 14 ? updated ?power sequence? on page 29 ? updated ?host command interface? on page 31 ? updated ?slave two-wire serial interface? on page 37 ? updated ?overlay capability? on page 42 ? changed heading ?serial memory partition? to ?nvm partition? on page 43 ? updated ?external memory speed requirement? on page 43 ? updated ?overlay adjustment? on page 44 ? updated figure 34: ?ntsc block,? on page 55 ? updated table 29, ?parallel digital output i/o timing,? on page 56 ? updated ?reset? on page 52 ? updated ?clocks? on page 52 ? updated table 31, ?configuration timing,? on page 58 ? updated table 32, ?power up sequence,? on page 59 ? updated figure 39: ?power up sequence,? on page 59 ? updated table 34, ?frame_sync to frame_valid/line_valid parameters,? on page 60 ? updated table 35, ?r eset_bar delay parameters,? on page 61 ? updated table 37, ?absolute maximum ratings,? on page 62 ? updated table 39, ?video dac electrical characteristics?single-ended mode,? on page 63 ? updated table 40, ?video dac electrical characteristics?differential mode,? on page 64 ? updated table 41, ?digital i/o parameters,? on page 64 ? updated table 42, ?power consumption ? condition 1,? on page 65 ? updated table 43, ?power consumption ? condition 2,? on page 65 ? updated table 44, ?ntsc signal parameters,? on page 66 ? updated figure 46: ?video timing,? on page 67 ? updated figure 50: ?quantum efficiency,? on page 72
on semiconductor and the on logo are registered trademarks of semiconductor components industries, llc (scillc) or its subsidia ries in the united states and/or other countries. scillc owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. a listing of scillcs pr oduct/patent coverage may be accessed at www.onsemi.com/site/pdf/ patent-marking.pdf. scillc reserves the right to make changes without further noti ce to any products herein. scillc makes no warranty, representat ion or guarantee regarding the suitability of its products for any particular purpose, nor does scillc assume any liability arising out of the application or use of any product or circuit, and specifically disclaim s any and all liability, including without limitation special, consequential or incidental damages. typical parameters which may be provided in scillc data shee ts and/or specifications can and do vary in different applications and actual performance may vary over time. all operating parameters, including typicals must be validated for each customer a pplication by customers technical experts. scillc does not convey any license under its patent rights nor the rights of others. sc illc products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in whic h the failure of the scillc prod uct could create a situation where personal injury or death may occur. should buyer purchase or use scillc products for any such uninte nded or unauthorized applicatio n, buyer shall indemnify and hol d scillc and its officers, employ ees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly o r indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that scillc was negligent regarding the design or manufacture of the part. scillc is an equal opportunity/affirmative action employer. this literature is subject to a ll applicable copyright laws and is not for resale in any manner. asx340cs: 1/4-inch color cmos ntsc/pal digital image sensor revision history asx340at/d rev. h, 8/15 en 75 ?semiconductor components industries, llc, 2015 . ? updated figure 51: ?63-ball ibga package outline drawing,? on page 73 rev. d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9/25/12 ? updated table 38, ?electrical characteristics and operating conditions,? on page 63 ? updated table 39, ?video dac electrical characteristics?single-ended mode,? on page 63 ? updated ?power consumption, operating mode? on page 65 ? updated table 44, ?ntsc signal parameters,? on page 66 ? updated table 45, ?video timing: specific ation from rec. itu-r bt.470,? on page 67 ? updated table 46, ?equalizing pulse: sp ecification from rec. itu-r bt.470,? on page 68 ? updated table 47, ?v pulse: specification from rec. itu-r bt.470,? on page 69 ? updated note for figure 50: ?quantum efficiency,? on page 72 rev. c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7/18/12 ? updated figure 49: ?two-wire serial bus timing parameters,? on page 70 ? updated table 41, ?digital i/o parameters,? on page 64 ? updated table 48, ?two-wire serial bus characteristics,? on page 70 rev. b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4/18/12 ? updated to production ? updated table 1: ?key parameters,? on page 1 ? updated table 6, ?reset/default state of interfaces,? on page 12 ? updated ?pixel array structure? on page 15 ? updated ?fov stretch support? on page 25 ? updated table 29, ?parallel digital output i/o timing,? on page 56 ? updated table 30, ?slew rate for pixclk and d out ,? on page 57 ? updated table 32, ?power up sequence,? on page 59 ? updated table 33, ?power down sequence,? on page 60 ? updated table 34, ?frame_sync to frame_valid/line_valid parameters,? on page 60 ? updated table 38, ?electrical characteristics and operating conditions,? on page 63 ? updated figure 51: ?63-ball ibga package outline drawing,? on page 73 rev. a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11/10/11 ?initial release


▲Up To Search▲   

 
Price & Availability of ASX340AT2C00XPEDH3-GEVB

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X